﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PhoneDBModel;

/// <summary>
/// Summary description for SessionHandler
/// </summary>
public class SessionHandler
{
    public static User AuthUser
    {
        get { return HttpContext.Current.Session["USER"] == null ? null : (User)HttpContext.Current.Session["USER"]; }
        set { HttpContext.Current.Session["USER"] = value; }
    }

    public static ChatWebSockets CWS;
}